package com.sondertara.joya.core.po;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Entity
@Table(name = "COLL_DAY_APPDU_DEVICE_REL_HIS")
@Data
public class AppDuDeviceRelHisPo {
    private static final long serialVersionUID = 1L;

    @Id
    @Column(name = "ID", nullable = false, precision = 18, scale = 0)
    private Long id;

    @Column(name = "APPDU_DEVICE_REL_ID")
    private String appduDeviceRelId;

    @Column(name = "DU_ID")
    private String duId;

    @Column(name = "CLOUD_DC_ID")
    private String cloudDcId;

    @Column(name = "CMDB_DC_ID")
    private String cmdbDcId;

    @Column(name = "DC_NAME")
    private String dcName;

    @Column(name = "DU_TYPE_CODE")
    private String duTypeCode;

    @Column(name = "DU_NAME")
    private String duName;

    @Column(name = "DEVICE_TYPE")
    private String deviceType;

    @Column(name = "HOSTNAME")
    private String hostname;

    @Column(name = "CPU_CORES")
    private String cpuCores;

    @Column(name = "MEMORY_CAPACITY")
    private String memoryCapacity;

    @Column(name = "DATA_TIME")
    private Date dataTime;

    @Column(name = "RES_POOL")
    private String resPool;

}
